package model;

public class Location {

	private int id;
	private boolean occupied;

	public Location(int id) {
		this.id = id;
		this.occupied = false;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isTaken() {
		return occupied;
	}

	public void setTaken(boolean taken) {
		this.occupied = taken;
	}


	public String toString() {
		return "" + id; // + ", " + occupied;
	}
	
	

}
